<%--
  Created by IntelliJ IDEA.
  User: cyy
  Date: 2020/3/23
  Time: 10:26
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<c:set var="ctx" value="<%=basePath%>"  />
<html>
<head>
    <title>订单查看管理</title>
    <link rel="stylesheet" href="/static/bootstrap/css/bootstrap.min.css" />
    <link rel="stylesheet" href="/static/bootstrapTable/bootstrap-table.min.css">
    <link rel="stylesheet" href="/static/toastr/toastr.min.css">
    <script src="/static/js/jquery.min.js"></script>
    <script src="/static/bootstrap/js/bootstrap.min.js"></script>
    <script src="/static/bootstrapTable/bootstrap-table.min.js"></script>
    <script src="/static/bootstrapTable/bootstrap-table-zh-CN.min.js"></script>
    <script src="/static/toastr/toastr.min.js"></script>
    <script src="/static/bootstrapNewTime/moment-with-locales.min.js"></script>
    <script src="/static/bootstrapNewTime/bootstrap-datetimepicker.min.js"></script>
    <link href="/static/bootstrapNewTime/bootstrap-datetimepicker.min.css" rel="stylesheet">
    <script src="/static/js/admin/admin_review.js"></script>
    <style type="text/css">
        /*只显示纵向滑动条*/
        html { overflow-x: hidden; overflow-y: hidden; }
        /*striped : true 不生效
        nth-child 选择器匹配属于其父元素的第 N 个子元素*/
        #loadTable tr:nth-child(even){
            background: #F0F8FF;
        }
        #loadTable tr:nth-child(odd){
            background: #F0FFFF;
        }
        /*只显示纵向滑动条*/
        html { overflow-x: hidden; overflow-y: hidden; }

        /*表格列间距*/
        .table > tbody > tr > td{padding: 1px}

        /*col-md-1 左右内间距*/
        .col-md-1{
            padding-left: 10px;
            padding-right:10px;
        }
        /* 悬浮变小手*/
        .input-group.date{
            cursor: pointer;
        }
    </style>
    <script type="application/javascript">
        var ctx= '${ctx}';
    </script>
</head>
<body>
<div class="panel panel-default">
    <div class="panel-heading">
        查询条件
    </div>
    <div class="panel-body form-group" style="margin-bottom:0px;">
        <label class="col-md-1 control-label" style="text-align: left; margin-top:5px">评论时间:</label>
        <div class="col-md-2">
            <%-- <input type="text" class="form-control" name="Name" id="inTimeSelect" autocomplete="off"/>--%>
            <div class='input-group date' style="width: 10em;" id='datetimepicker1'>
                <input type='text' class="timeInput form-control" id="reviewTimeSelect"/>
                <span class="input-group-addon">
                        <span class="glyphicon glyphicon-calendar"></span>
                    </span>
            </div>
        </div>
        <label class="col-md-1 control-label" style="text-align: left; margin-top:5px">酒店信息:</label>
        <div class="col-md-2">
            <input type="text" class="form-control" name="Name" id="hotelNameRoom" autocomplete="off"/>
        </div>
        <label class="col-md-1 control-label" style="text-align: center; margin-top:5px">状态:</label>
        <div class="col-md-2">
            <select class="form-control" id="sel1">
                <option value="">全部</option>
                <option value="0">正常</option>
                <option value="1">用户已删除</option>
            </select>
        </div>
        <div class="col-md-2">
            <button class="btn btn-primary pull-right" id="search_btn">查询</button>
        </div>
    </div>
</div>
<table id="loadTable" class="table table-hover"></table>
<!-- 模态框 -->
<div class="modal fade" id="ReviewModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="myModalLabel">彻底删除</h4>
            </div>
            <div class="modal-body" id="active">

                <input type="hidden" id="hiddenReview">
                <span>确定彻底删除评论吗?</span>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <button type="button" class="btn btn-primary" id="saveActive">删除</button>
            </div>
        </div>
    </div>
</div>
</body>
</html>